import static org.junit.Assert.*;

import org.junit.Before;
import org.junit.Test;



public class PlayerTest {
	private Player Test1 = new Player();
	private Player Test2 = new Player();

	@Before
	public void setUp() throws Exception {
		Test1.name="test1";
		Test1.age= 29;
	}

	@Test
	public void testSetPlayer() {
		Test2.setPlayer("a","b", "c");
		assertEquals("a",Test2.name);
		assertEquals("b",Test2.tname);
		assertEquals("c",Test2.birth);
	}

	@Test
	public void testGetAge() {
	    assertEquals(29,Test1.getAge());
	}

}
